Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 709 Bytes

<model>_browse_sql.rst

File metadata and controls

32 lines (21 loc) · 709 Bytes

<model>_browse_sql

Usage

Alters the :phpOmeka_Db_Select object when finding records of type <model> using the :phpOmeka_Db_Table::findBy method.

<model> should be the plural name of the model, e.g. items_browse_sql

Arguments

:phpOmeka_Db_Select select

The select object

array params

The parameters being used to build the select object. For web requests, GET parameters and Zend routing params will appear in this array. For internal queries, the params here will be the ones passed to :phpOmeka_Db_Table::findBy.

Examples